package com.icinfo.cloud.provider.common.qr.service;

import com.icinfo.cloud.provider.common.dto.QrCodeQueryDto;

import javax.servlet.http.HttpServletResponse;

/**
 * @author shishengyao
 * @description
 * @date 2022/3/12
 */
public interface IQrService {

    /**
     * 描述：生成二维码
     *
     * @param queryDto {@link QrCodeQueryDto} 二维码查询传输对象
     * @param response {@link HttpServletResponse}
     * @return {@link String} 二维码信息
     * @author xiangyuyu
     * @date 2022-03-12 14:06
     */
    String generateQrCode(QrCodeQueryDto queryDto, HttpServletResponse response);

    /**
     * 描述： 图片base64转成oss地址
     *
     * @author: zhengqiang
     * @date: 2023/5/22
     * @param: base64String
     * @return {@link String}
     **/
    String base64ToOssUrl(String base64String);
}
